import Taro from "@tarojs/taro";

/**
 *
 * @returns 返回数据
 */
export const fetchTopics = async () => {
  const res = await Taro.request({
    url: "https://cnodejs.org/api/v1/topics",
  });
  return res.data;
};
